home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / biblio / bibtex / utils / bibclean / bibclean.reg < prev    next >
Text File  |  1992-11-14  |  4KB  |  102 lines

  1. %% -*-text-*-
  2. %% /u/sy/beebe/tex/bibclean/bibclean.reg, Sun Nov 15 14:58:54 1992
  3. %% Edit by Nelson H. F. Beebe <beebe@plot79.math.utah.edu>
  4.  
  5. %% This file contains bibclean value regular-expression pattern matching
  6. %% specifications and default options to be read during winitialization.
  7. %% bibclean must be compiled with either HAVE_REGEXP or HAVE_RECOMP to
  8. %% use these patterns correctly.
  9. %%
  10. %% For either of these options, the string values are NOT filtered to
  11. %% remove braces and TeX control sequences, so if these are expected,
  12. %% regular expressions must be provided to match them.
  13.  
  14. chapter    =    "^\"[0-9]+\"$"            %% 23
  15. chapter    =    "^\"[0-9]+-[0-9]+\"$"        %% 11-2
  16.  
  17. month    =    "^[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY] *#\
  18.  *\" +[0-9]+\"$"                %% oct # " 10"
  19. month    =    "^[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY] *#\
  20.  *\" +[0-9][0-9]?--[0-9][0-9]?\"$"        %% oct # " 8--10"
  21. month    =    "^\"[0-9]+ *\" *#\
  22.  *[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY]$"    %% "10 " # oct
  23. month    =    "^\"[0-9][0-9]?--[0-9][0-9]? *\" *#\
  24.  *[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY]$"  %% "8--10 " # oct
  25. month    =    "^[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY] *#\
  26.  *\"\\\\[a-zA-Z]+ *\" *#\
  27.  *[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY]$"
  28.                         %% jul # "\emdash " # aug
  29. month    =    "^[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY] *#\
  30.  *\" *-- *\" *#\
  31.  *[adfjmnosADFJMNOS][acepouACEPOU][bcglnprtvyBCGLNPRTVY]$"
  32.                         %% jul # "--" # aug
  33.  
  34. number    =    "^\"[0-9]+\"$"                %% "23"
  35. number    =    "^\"[a-zA-Z]+ +[a-zA-Z]+[0-9]+\"$"    %% "PN LPS5001"
  36. number    =    "^\"[a-zA-Z]+ +[0-9]+([0-9]+)\"$"    %% "RJ 34(49)"
  37. number    =    "^\"[a-zA-Z]+ +[0-9]+\"$"        %% "XNSS 288811"
  38. number    =    "^\"[a-zA-Z]+ +[0-9]+[.][0-9]+\"$"    %% "Version 3.20"
  39. number    =    "^\"[a-zA-Z]+-[a-zA-Z]+-[0-9]+-[0-9]+\"$" %% "UMIAC-TR-89-11"
  40. number    =    "^\"[a-zA-Z]+-[a-zA-Z]+-[0-9]+\"$"    %% "CS-TR-2189"
  41. number    =    "^\"[a-zA-Z]+-[a-zA-Z]+-[0-9]+[.][0-9]+\"$" %% "CS-TR-21.7"
  42. number    =    "^\"[a-zA-Z]+-[a-zA-Z]+\\\\[a-zA-Z]+ +[0-9]+-[0-9]+\"$"
  43.                             %% "TN-K\slash 27-70"
  44. number    =    "^\"[a-zA-Z]+-[0-9]+ +[0-9]+\"$"    %% "PB-251 845"
  45. number    =    "^\"[a-zA-Z]+-[0-9]+-[0-9]+\"$"        %% "ANL-30-74"
  46. number    =    "^\"[a-zA-Z]+-[0-9]+\"$"        %% "TR-2189"
  47. number    =    "^\"[a-zA-Z]+[0-9]+-[0-9]+-[0-9]+\"$"    %% "GG24-3611-00"
  48. number    =    "^\"[a-zA-Z]+[0-9]+-[0-9]+\"$"        %% "SP43-29"
  49. number    =    "^\"[a-zA-Z]+[0-9]+\"$"            %% "LPS0064"
  50. number    =    "^\"[a-zA-Z]+\\\\#[0-9]+-[0-9]+\"$"    %% "TR\#89-24"
  51. number    =    "^\"[0-9]+ and +[0-9]+\"$"        %% "11 and 12"
  52. number    =    "^\"[0-9]+[-+/.][0-9]+\"$"    %% "3+4, 23-27, 23/27, 23.27"
  53. number    =    "^\"[0-9]+[a-zA-Z]+\"$"            %% "23A"
  54. number    =    "^\"[a-zA-Z]+-[a-zA-Z]+ +[a-zA-Z]+\"$"    %% "AERE-R 12329"
  55. number    =\
  56.     "^\"[a-zA-Z]+-[a-zA-Z]+-[0-9]+\\\\[a-zA-Z]+ *[0-9]+-[a-zA-Z]+[0-9]+\"$"
  57.                         %% "OSU-CISRC-4\slash 87-TR9"
  58. number    =    "^\"[a-zA-Z0-9]+\\( *[a-zA-Z0-9]+\\)\"$"
  59.                     %% "Computer Science Report 100"
  60. number    =    "^\"[a-zA-Z0-9]+\\([-/.][a-zA-Z0-9]+\\)\"$"
  61.                         %% "TR/AB/3-43.7-3/AB"
  62.  
  63. pages    =    "^\"[a-zA-Z]?[0-9]+\"$"        %% "23" and "A23"
  64. pages    =    "^\"[A-Za-z]?[0-9]+--[A-Za-z]?[0-9]+\"$"
  65.                         %% "23--29" and "A23--A29"
  66. pages    =    "^\"[A-Za-z]?[0-9]+-[A-Za-z]?[0-9]+\"$" \
  67.         "Use en-dash, --, to separate page numbers"
  68.                         %% "23-29" and "A23-A29"
  69. pages    =    "^\"[A-Za-z]?[0-9]+---[A-Za-z]?[0-9]+\"$" \
  70.         "Use en-dash, --, to separate page numbers"
  71.                         %% "23---29" and "A23---A29"
  72. pages    =    "^\"[A-Za-z]?[0-9---]+\\(, *[A-Za-z]?[0-9---]+\\)*\"$"
  73.                     %% "23, 27, 29" and "A23, A27, A29"
  74. pages    =    "^\"[ivxlcdmIVXLCDM]+\"$"    %% "xxxiv"
  75. pages    =    "^\"[ivxlcdmIVXLCDM]+ *[+] *[0-9]+"
  76.                     %% "xiii + 457 with 230 illustrations"
  77.  
  78. volume    =    "^\"[0-9]+a?\"$"        %% "27" and "27A"
  79. volume    =    "^\"[0-9]+/?[0-9]+\"$"        %% "27/3"
  80. volume    =    "^\"[0-9]+[a-zA-Z] [0-9]+\"$"    %% "27A 3"
  81. volume    =    "^\"[0-9a-zA-Z]+-[0-9]+\"$"    %% "SMC-13"
  82. volume    =    "^\"[ivxlcdmIVXLCDM]+\"$"    %% "VIII"
  83. volume    =    "^\"[0-9]+[.][0-9]+\"$"        %% "27.3"
  84. volume    =    "^\"[0-9]+[a-zA-Z] [0-9]+\"$"    %% "27A 3"
  85. volume    =    "^\"[A-Za-z0-9]+\\( *[A-Za-z0-9]+\\)*\"$" %% "Special issue A"
  86. volume    =    "^\"[0-9]+ and [0-9]+\""    %% "11 and 12"
  87.  
  88. year    =    "^\"[12][0-9][0-9][0-9]\"$"    %% "1992"
  89. year    =    "^\"[12][0-9][0-9][0-9]\\(, [12][0-9][0-9][0-9]\\)*\"$"
  90.                         %% "1989, 1990, ..."
  91. year    =    "^\"{\\[a-zA-Z]+{[12][0-9][0-9][0-9][a-zA-Z]}}\
  92. [12][0-9][0-9][0-9]\"$"                %% "{\noopsort{1985a}}1985"
  93.  
  94. %% This is for GNU Emacs file-specific customization:
  95. %% Local Variables:
  96. %% eval: (auto-fill-mode -1)
  97. %% comment-start: "%% "
  98. %% comment-start-skip: "%+ *"
  99. %% comment-end: ""
  100. %% comment-column: 48
  101. %% End:
  102.